package com.tcs.model.standardization;

/**
 * 标记Bean<br/>
 * 用来标记 选择题, 简单题 ,各种题目
 */
public class SignTopicBean {

    private boolean sign;           // true 选择题, false 其他题目

    private boolean goOn;           // 继续

    private boolean isFlag;         // 标记是否查询到 选择题,写作题,等等

    public SignTopicBean(boolean sign) {
        this.sign = sign;
    }

    public SignTopicBean(boolean sign, boolean isFlag) {
        this.sign = sign;
        this.isFlag = isFlag;
    }

    public SignTopicBean() {
    }

    public boolean isSign() {
        return sign;
    }

    public boolean isGoOn() {
        return goOn;
    }

    public boolean isFlag() {
        return isFlag;
    }

    public void setFlag(boolean flag) {
        isFlag = flag;
    }

    public void setGoOn(boolean goOn) {
        this.goOn = goOn;
    }

    public void setSign(boolean sign) {
        this.sign = sign;
    }

    public int getTopicNum() {
        return sign ? 6 : 2;
    }

    @Override
    public String toString() {
        return "SignTopicBean{" +
                "sign=" + sign +
                '}';
    }
}
